package com.fsc.app_adapter;

import java.util.List;

import com.fsc.app_bean.Content;

import android.view.View;
import android.view.ViewGroup;
import android.widget.BaseAdapter;
import android.widget.ImageView;
import android.widget.TextView;

public class ListAdapter extends BaseAdapter {
	private Content content;
	private List<Content> data;

	@Override
	public int getCount() {
		return data.size();
	}

	@Override
	public Object getItem(int position) {
		return data.get(position);
	}

	@Override
	public long getItemId(int position) {
		return 0;
	}

	@Override
	public View getView(int position, View convertView, ViewGroup parent) {
		
        return convertView; 
	}
	public class ViewHolder{
		private TextView content;
		private ImageView image;
	}
}
